package com.automatastudios.logic {	import flash.events.Event;		public class PastaEvent extends Event {		public static const ACTION:String = "action";		public static const EXIT_STATE:String = "exitState";		public static const ENTER_STATE:String = "enterState";			private var _state:PastaState;						public function PastaEvent(type:String, state:PastaState):void {			_state = state;			super(type, false, false);			}				public function get state():PastaState {			return _state;			}				public override function clone():Event {			return new PastaEvent(type, _state);		}				public override function toString():String {			return super.toString() + " State: " + _state.name;			}	}}